<script>
import adminAfterSalesTable from "@/components/AdminAfterSalesTable.vue";

export default {
  name: "afterSale",
  components: {adminAfterSalesTable},
  data() {
    return {
      state: {
        status: ''
      }
    }
  }

}
</script>

<template>
  <el-tabs v-model="state.status">
    <el-tab-pane label="全部" name="">
      <admin-after-sales-table v-if="state.status==='0'" :status="state.status"></admin-after-sales-table>
    </el-tab-pane>
    <el-tab-pane label="申请中" name="6">
      <admin-after-sales-table v-if="state.status==='6'" :status="state.status"></admin-after-sales-table>
    </el-tab-pane>
    <el-tab-pane label="退款成功" name="7">
      <admin-after-sales-table v-if="state.status==='7'" :status="state.status"></admin-after-sales-table>
    </el-tab-pane>
    <el-tab-pane label="拒绝" name="8">
      <admin-after-sales-table v-if="state.status==='8'" :status="state.status"></admin-after-sales-table>
    </el-tab-pane>
  </el-tabs>
</template>

<style scoped>

</style>